import Vue from 'vue'
import VueRouter from 'vue-router'


Vue.use(VueRouter)

//导入购物车路由规则接口
import shopingRouter from "./modules/shoping.js"


const routes = [
  //购物车模块路由
	...shopingRouter
]

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router
